Adwaita: Move .ssd class around
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 00:23:54 +0000 (19:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 00:23:54 +0000 (19:23 -0500)
Make the theme follow our documentation for the various .csd and
.ssd style classes: They all go on the window node. For now, just
add the new selector; the old one will be removed when mutter has
been updated.

https://bugzilla.gnome.org/show_bug.cgi?id=760714

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 08f52864821d1e8c301f61303ce01ae514d60cab..f5a039e398cba6b7257f034c05f0160bb7d142bc 100644 (file)
@@ -3557,6 +3557,7 @@ decoration {
   .popup & { box-shadow: none; }
 
   // server-side decorations as used by mutter
+  .ssd &,
   &.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
 
   .csd.popup & {
index 3ea650815587d745799fd2cc5b1a528c246de858..ed61d447914335fb3c33661d30fb56e7aec4e2be 100644 (file)
@@ -4557,7 +4557,7 @@ decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }
-  decoration.ssd {
+  .ssd decoration, decoration.ssd {
     box-shadow: 0 0 0 1px rgba(28, 31, 31, 0.9); }
   .csd.popup decoration {
     border-radius: 0;
index 00c31b006aa2de7dbfe051ea2413655f4a8ce62d..451b9e06498b28e8213e18ed10dd8491e7d1d49e 100644 (file)
@@ -4698,7 +4698,7 @@ decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }
-  decoration.ssd {
+  .ssd decoration, decoration.ssd {
     box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); }
   .csd.popup decoration {
     border-radius: 0;